﻿using System;
using System.Collections.Generic;
using System.Text;
using AppToolKit.Model;
 

namespace Model.Hotel
{
    #region Grpbasehotel

    /// <summary>
    /// Grpbasehotel object for NHibernate mapped table 'grp_base_hotel'.
    /// </summary>
    [Serializable]
    public class HotelInfo : EntityBase
    {
        #region const Variables

        public const string TABLE_NAME = "grp_base_hotel";
        public const string ID_FIELD = "Id";
        public const string HOTELNAME_FIELD = "Hotelname";
        public const string HOTELENAME_FIELD = "Hotelename";
        public const string ROOMNUMBER_FIELD = "Roomnumber";
        public const string BRANDID_FIELD = "Brandid";
        public const string SEQUENCE_FIELD = "Sequence";

        #endregion


        #region Member Variables

        private string _id;
        private string _hotelname;
        private string _hotelename;
        private decimal? _roomnumber;
        private string _brandid;
        private int? _sequence;


        #endregion

        #region Constructors

        public HotelInfo() { }



        #endregion

        #region Public Properties

        //[FieldDescript("ReportData.GrpbasehotelEntityResource", "Id")]
         public virtual string Id
        {
            get { return _id; }
            set { _id = value.Trim(); }
        }

        //[FieldDescript("ReportData.GrpbasehotelEntityResource", "Hotelname")]
        public virtual string Hotelname
        {
            get { return _hotelname; }
            set { _hotelname = value; }
        }

        //[FieldDescript("ReportData.GrpbasehotelEntityResource", "Hotelename")]
        public virtual string Hotelename
        {
            get { return _hotelename; }
            set { _hotelename = value; }
        }

        //[FieldDescript("ReportData.GrpbasehotelEntityResource", "Roomnumber")]
        public virtual decimal? Roomnumber
        {
            get { return _roomnumber; }
            set { _roomnumber = value; }
        }

        //[FieldDescript("ReportData.GrpbasehotelEntityResource", "Brandid")]
        public virtual string Brandid
        {
            get { return _brandid; }
            set { _brandid = value; }
        }

       // [FieldDescript("ReportData.GrpbasehotelEntityResource", "Sequence")]
        public virtual int? Sequence
        {
            get { return _sequence; }
            set { _sequence = value; }
        }


        public override object Key
        {
            get { return Id; }
        }

        #endregion

    }
    #endregion
}
